


package com.test.wcm;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="projects">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="project" maxOccurs="unbounded" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}byte"/>
 *                             &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                             &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}byte"/>
 *                             &lt;element name="userId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
 *                             &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                             &lt;element name="extendJson" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                             &lt;element name="channelId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
 *                             &lt;element name="sourceId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "projects"
})
@XmlRootElement(name = "projectList")
public class ProjectList {

    @XmlElement(required = true)
    protected ProjectList.Projects projects;

    /**
     * Gets the value of the projects property.
     * 
     * @return
     *     possible object is
     *     {@link ProjectList.Projects }
     *     
     */
    public ProjectList.Projects getProjects() {
        return projects;
    }

    /**
     * Sets the value of the projects property.
     * 
     * @param value
     *     allowed object is
     *     {@link ProjectList.Projects }
     *     
     */
    public void setProjects(ProjectList.Projects value) {
        this.projects = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="project" maxOccurs="unbounded" minOccurs="0">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}byte"/>
     *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                   &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}byte"/>
     *                   &lt;element name="userId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
     *                   &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                   &lt;element name="extendJson" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                   &lt;element name="channelId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
     *                   &lt;element name="sourceId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "project"
    })
    public static class Projects {

        protected List<ProjectList.Projects.Project> project;

        /**
         * Gets the value of the project property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the project property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getProject().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ProjectList.Projects.Project }
         * 
         * 
         */
        public List<ProjectList.Projects.Project> getProject() {
            if (project == null) {
                project = new ArrayList<ProjectList.Projects.Project>();
            }
            return this.project;
        }


        /**
         * <p>Java class for anonymous complex type.
         * 
         * <p>The following schema fragment specifies the expected content contained within this class.
         * 
         * <pre>
         * &lt;complexType>
         *   &lt;complexContent>
         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       &lt;sequence>
         *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}byte"/>
         *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *         &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}byte"/>
         *         &lt;element name="userId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
         *         &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *         &lt;element name="extendJson" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *         &lt;element name="channelId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
         *         &lt;element name="sourceId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
         *       &lt;/sequence>
         *     &lt;/restriction>
         *   &lt;/complexContent>
         * &lt;/complexType>
         * </pre>
         * 
         * 
         */
        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "", propOrder = {
            "id",
            "name",
            "type",
            "userId",
            "content",
            "extendJson",
            "channelId",
            "sourceId"
        })
        public static class Project {

            protected byte id;
            @XmlElement(required = true)
            protected String name;
            protected byte type;
            protected byte userId;
            @XmlElement(required = true)
            protected String content;
            @XmlElement(required = true)
            protected String extendJson;
            protected byte channelId;
            protected byte sourceId;

            /**
             * Gets the value of the id property.
             * 
             */
            public byte getId() {
                return id;
            }

            /**
             * Sets the value of the id property.
             * 
             */
            public void setId(byte value) {
                this.id = value;
            }

            /**
             * Gets the value of the name property.
             * 
             * @return
             *     possible object is
             *     {@link String }
             *     
             */
            public String getName() {
                return name;
            }

            /**
             * Sets the value of the name property.
             * 
             * @param value
             *     allowed object is
             *     {@link String }
             *     
             */
            public void setName(String value) {
                this.name = value;
            }

            /**
             * Gets the value of the type property.
             * 
             */
            public byte getType() {
                return type;
            }

            /**
             * Sets the value of the type property.
             * 
             */
            public void setType(byte value) {
                this.type = value;
            }

            /**
             * Gets the value of the userId property.
             * 
             */
            public byte getUserId() {
                return userId;
            }

            /**
             * Sets the value of the userId property.
             * 
             */
            public void setUserId(byte value) {
                this.userId = value;
            }

            /**
             * Gets the value of the content property.
             * 
             * @return
             *     possible object is
             *     {@link String }
             *     
             */
            public String getContent() {
                return content;
            }

            /**
             * Sets the value of the content property.
             * 
             * @param value
             *     allowed object is
             *     {@link String }
             *     
             */
            public void setContent(String value) {
                this.content = value;
            }

            /**
             * Gets the value of the extendJson property.
             * 
             * @return
             *     possible object is
             *     {@link String }
             *     
             */
            public String getExtendJson() {
                return extendJson;
            }

            /**
             * Sets the value of the extendJson property.
             * 
             * @param value
             *     allowed object is
             *     {@link String }
             *     
             */
            public void setExtendJson(String value) {
                this.extendJson = value;
            }

            /**
             * Gets the value of the channelId property.
             * 
             */
            public byte getChannelId() {
                return channelId;
            }

            /**
             * Sets the value of the channelId property.
             * 
             */
            public void setChannelId(byte value) {
                this.channelId = value;
            }

            /**
             * Gets the value of the sourceId property.
             * 
             */
            public byte getSourceId() {
                return sourceId;
            }

            /**
             * Sets the value of the sourceId property.
             * 
             */
            public void setSourceId(byte value) {
                this.sourceId = value;
            }

        }

    }

}
